package powerControl.dao;

import powerControl.entity.User;

public interface IUserDao {
	/**
	 * 根据用户名和密码查找用户
	 * @param user
	 * @return
	 */
	public User findByNameAndPassword(User user);
	/**
	 * 根据用户和url判断是否具有访问权限
	 * @param user
	 * @param url
	 * @return
	 */
	public boolean checkPowerForUserAndUrl(User user,String url);
}